package com.oocl.dao;

import java.util.List;

import com.oocl.pojo.Dish;
import com.oocl.pojo.DishSearchCondition;

public interface DishDao {
	public int addDish(Dish d);
	public int updateDish(Dish d);
	public int deleteDish(String dId);
	public List<Dish> findAllDishes(String mId);
	public List<Dish> findDishesByType(Integer dType,String mId);
	public List<Dish> findDishesByName(String dName,String mId);
	public List<Dish> findDishesByBoth(Integer dType,String dName,String mId);
	public Dish findDishById(String dId);
	
	public List<Dish> findDishByCondition(String conditionSql);
}
